<span ng-if="type == 'qiushi_hot'">
    <div ng-repeat="item in items" class="thumbnail">
        <span>{{item.author}}</span>
        <br>
        <span>{{item.content}}</span>
        <br>
        <span><img ng-src="{{item.img}}" alt=""></span>
    </div>
</span>
<span ng-if="type=='tieba'">
    <form>
        <label for="keyword">贴吧:</label><input type="text" ng-model='keyword' name='keyword' id="keyword" required  value="{{keyword}}">
        <input type="submit" value="Load" ng-click="load_data(keyword, 1)">
        <p>
            <div ng-repeat="item in items">
                <p>
                    <a href="{{item.href}}" target="_blank">{{item.title}}</a>
                </p>
            </div>
        </p>
        <p><span ng-if="page > 1"><input type="submit" value="上一页" ng-click="load_data(keyword, page-1)"></span><span ng-if="page < last"><input type="submit" value="下一页" ng-click="load_data(keyword, page+1)"></span></p>
    </form>
</span>
<span ng-if="type=='taobaomm'">
    <p>
        <div ng-repeat="item in items" class="thumbnail">
            <span>{{item.name}}</span>
            <br>
            <span>{{item.url}}</span>
            <br>
            <span><img ng-src="{{item.img}}" alt=""></span>
        </div>
    </p>
    <p><span ng-if="page > 1"><input type="submit" value="上一页" ng-click="load_data(null, page-1)"></span><span><input type="submit" value="下一页" ng-click="load_data(null, page+1)"></span></p>
</span>
